package com.hd.quartz.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <h3>partitionjob</h3>
 * <p>ScheduleJobLogEntity</p>
 *
 * @author : hduong
 * @version : 1.0
 * @date : 2020-09-14 15:35
 **/
@Data
@TableName(value = "schedule_job_log")
public class ScheduleJobLogEntity implements Serializable {

    private static final long serialVersionUID = -5232446763569619469L;

    @TableId
    private Long logId;
    private Long jobId;
    private String beanName;
    private String methodName;
    private String params;

    private Integer status;
    private String error;
    private Integer times;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

}
